import request from '@/utils/request'

// 分页获取用户列表
export const totalPages = (data) => {
  return request({
    url: '/total/pages',
    method: 'post',
	data
  })
}

// 获取用户信息
export const userInfo = (params) => {
  return request({
    url: '/user/info',
    method: 'get',
	params
  })
}


// 获取所有常量
export const commonConstants = () => {
  return request({
    url: '/common/constants',
    method: 'get'
  })
}